
import pathlib

toolnameRaw = pathlib.Path(__file__).absolute().parts[-1]
toolname = toolnameRaw[2:-5]
_thisArgInd = sys.argv.index(toolname)
def getArgv():
    return sys.argv[_thisArgInd:]
